package com.xx.xiawan.net;

import android.content.Context;

import com.android.volley.Request;
import com.android.volley.Response;

/**
 * Created by Administrator on 2017-11-17.
 */

public class DeleteRequest extends GetRequest{
    public DeleteRequest(String url,Context context) {
        super(url,context);
        init(url);
    }

    public DeleteRequest(String url,Context context,DGRequestListener listener) {
        super(url,context,listener);
        init(url);
    }

    protected  void init(String url){
        stringRequest = new DGStringRequest(Request.Method.DELETE,url,this,this);
        mRequest = stringRequest;
    }
}
